# -*- mode: snippet; require-final-newline: nil -*-
# name: minitest_config
# key: config
# --
# -*- coding: utf-8 -*-
# -*- frozen_string_literal: true -*-

require "minitest/autorun"
require "minitest/pride"
require "minitest/proveit"

def require_source path
  project_root = "./../../../"
  src_file = File.expand_path(project_root + path, __FILE__)
  require_relative src_file
end

alias :require_test_dependency :require_source

class Minitest::Test
  make_my_diffs_pretty!
  prove_it!
end

module Minitest::Assertions
  def assert_frozen obj
    assert obj.frozen?, "Expected #{obj.inspect} to be frozen"
  end
end